package com.local.goods.pojo;

/**
 * GoodsCategory list请求的参数bean对象
 */
public class GoodsCategoryListRequestParam {
    private Byte categoryLevel;
    private Integer parentId;
    private Integer page;
    private Integer limit;
    private String sort;
    private String order;
    private Integer isDeleted;

    public GoodsCategoryListRequestParam(){}

    public GoodsCategoryListRequestParam(Byte categoryLevel, Integer parentId, Integer page, Integer limit, String sort, String order, Integer isDeleted) {
        this.categoryLevel = categoryLevel;
        this.parentId = parentId;
        this.page = page;
        this.limit = limit;
        this.sort = sort;
        this.order = order;
        this.isDeleted = isDeleted;
    }

    public Byte getCategoryLevel() {
        return categoryLevel;
    }

    public void setCategoryLevel(Byte categoryLevel) {
        this.categoryLevel = categoryLevel;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "GoodsCategoryListRequestParam{" +
                "categoryLevel=" + categoryLevel +
                ", parentId=" + parentId +
                ", page=" + page +
                ", limit=" + limit +
                ", sort='" + sort + '\'' +
                ", order='" + order + '\'' +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
